<{include file="header.html"}>
<link href="themes/css/detection.css" rel="stylesheet" type="text/css" media="screen">
<script language="javascript" type="text/javascript" src="themes/js/date/WdatePicker.js"></script>
<div id ="d_sidebar">
	<{include file="member/module/alarm_sidebar.html"}>
</div>

<div id = "d_container">
<form action="<{spUrl c=Alarms a=limit_alarm}>" method="post">
	<span>时间范围选择</span>
	<input name="btime" type="text" onClick="WdatePicker()" />--<input name="atime" type="text" onClick="WdatePicker()" />
	<input type="submit" value="提交" />
</form>
	<table width="900" border="0" align="center">
			<tr>
					<td width="200">名称：</td>
					<td width="200">网址：</td>
					<td width="200">消息：</td>
					<td width="200">时间：</td>	
			</tr>
	<{foreach item=vo from=$list key=enname}>
			<tr>
					<td width="200" ><{$vo.site.title}></td>
					<td width="200" ><{$vo.site.domain}></td>
					<td width="200" ><{$vo.news}></td>
					<td width="200" ><{$vo.addtime|date_format:'%Y-%m-%d %H:%M:%S'}></td>
			</tr>
	<{/foreach}>				
	</table>
 		

<{if $pager}>
共有记录<{$pager.total_count}>条，共有<{$pager.total_page}>页（每页<{$pager.page_size}>条记录）：
<!--在当前页不是第一页的时候，显示前页和上一页-->
<{if $pager.current_page != $pager.first_page}>
<a href="<{spUrl c=Alarms a=limit_alarm page=$pager.first_page btime=$btime atime=$atime}>">前页</a> | 
<a href="<{spUrl c=Alarms a=limit_alarm page=$pager.prev_page btime=$btime atime=$atime}>">上一页</a> | 
<{/if}>
<!--在当前页不是最后一页的时候，显示下一页和后页-->
<{if $pager.current_page != $pager.last_page}> | 
<a href="<{spUrl c=Alarms a=limit_alarm page=$pager.next_page btime=$btime atime=$atime}>">下一页</a> | 
<a href="<{spUrl c=Alarms a=limit_alarm page=$pager.last_page btime=$btime atime=$atime}>">后页</a>
<{/if}>
<{/if}>

</div>
<div class = "clear"></div>

<{include file="footer.html"}>